package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;

@Data
@TableName("msslyy_address_messaget")
public class MsslyyAddressMessaget extends Model<MsslyyAddressMessaget> {
    /**
      * ID  
      */
    @ApiModelProperty(value = "ID")
    @TableId(value = "address_message_id", type = IdType.AUTO)
    private Long id;

    /**
      * 地址拥有者ID 
      */
    @ApiModelProperty(value = "地址拥有者ID")
    private Long userId;

    /**
      * 收货人姓名 
      */
    @ApiModelProperty(value = "收货人姓名")
    private String addressMessageName;

    /**
      * 电话 
      */
    @ApiModelProperty(value = "电话")
    private String addressMessagePhone;

    /**
      * 省 
      */
    @ApiModelProperty(value = "省")
    private String addressMessageProvince;

    /**
      * 市 
      */
    @ApiModelProperty(value = "市")
    private String addressMessageCity;

    /**
      * 区 
      */
    @ApiModelProperty(value = "区")
    private String addressMessageDistrict;

    /**
      * 详细地址 
      */
    @ApiModelProperty(value = "详细地址")
    private String addressMessageAddress;

    /**
      * 状态 
      */
    @ApiModelProperty(value = "状态")
    private Integer status;

    /**
      * 逻辑删除 
      */
    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    /**
      * 乐观锁 
      */
    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;

    /**
      * 创建时间 
      */
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
      * 修改时间 
      */
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}